﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../Content/js/angular1.2.13.js"></script>
</head>
<body ng-app="app">
    {{ 'ginger loves dog treats'|lowercase|capitalize}}
    <script>
        
        angular.module('app', [])
        .filter('capitalize', function () {
            return function (input)
            {
                if (input) {
                    return input[0].toUpperCase()
                        + input.slice(1);
                }
            }
            
        })
    </script>
</body>
</html>
